package com.wuliu.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.wuliu.common.annotation.Excel;
import com.wuliu.common.core.domain.BaseEntity;

/**
 * 微信参数对象 sys_weixin_config
 *
 * @author wuliu
 * @date 2023-10-07
 */
public class SysWeixinConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private String id;

    /** 账号 */
    @Excel(name = "账号")
    private String account;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String appId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String secret;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String apiKey;

    /** 微信支付商户号 */
    @Excel(name = "微信支付商户号")
    private String mchId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String partner;

    /** 原始ID */
    @Excel(name = "原始ID")
    private String originalId;

    /** 证书地址 */
    @Excel(name = "证书地址")
    private String certPath;

    /** 账套号 */
    @Excel(name = "账套号")
    private String sysAccount;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setAccount(String account)
    {
        this.account = account;
    }

    public String getAccount()
    {
        return account;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setAppId(String appId)
    {
        this.appId = appId;
    }

    public String getAppId()
    {
        return appId;
    }
    public void setSecret(String secret)
    {
        this.secret = secret;
    }

    public String getSecret()
    {
        return secret;
    }
    public void setApiKey(String apiKey)
    {
        this.apiKey = apiKey;
    }

    public String getApiKey()
    {
        return apiKey;
    }
    public void setMchId(String mchId)
    {
        this.mchId = mchId;
    }

    public String getMchId()
    {
        return mchId;
    }
    public void setPartner(String partner)
    {
        this.partner = partner;
    }

    public String getPartner()
    {
        return partner;
    }
    public void setOriginalId(String originalId)
    {
        this.originalId = originalId;
    }

    public String getOriginalId()
    {
        return originalId;
    }
    public void setCertPath(String certPath)
    {
        this.certPath = certPath;
    }

    public String getCertPath()
    {
        return certPath;
    }
    public void setSysAccount(String sysAccount)
    {
        this.sysAccount = sysAccount;
    }

    public String getSysAccount()
    {
        return sysAccount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("account", getAccount())
                .append("name", getName())
                .append("appId", getAppId())
                .append("secret", getSecret())
                .append("apiKey", getApiKey())
                .append("mchId", getMchId())
                .append("partner", getPartner())
                .append("originalId", getOriginalId())
                .append("certPath", getCertPath())
                .append("sysAccount", getSysAccount())
                .append("remark", getRemark())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
